package com.hefeng.wx.domain;

import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.serializer.ToStringSerializer;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 设备信息表;
 * @author : hzh
 * @date : 2022-9-7
 */
@Data
@ApiModel(value = "设备信息表",description = "")
@TableName("wx_device")
@JsonIgnoreProperties(ignoreUnknown = true)
public class WxDevice implements Serializable,Cloneable{
    /** 设备id */
    @ApiModelProperty(name = "设备id",notes = "")
    @TableId(type = IdType.NONE)
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long deviceId ;
    /** 用户编号 */
    @TableField(exist = false)
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @ApiModelProperty(name = "用户编号",notes = "")
    private Long userId ;
    /** 设备名称 */
    @ApiModelProperty(name = "设备名称",notes = "")
    private String deviceName ;
    /** 设备编码 */
    @ApiModelProperty(name = "设备编码",notes = "")
    private String deviceCode ;
    /** 设备缩略图 */
    @ApiModelProperty(name = "设备缩略图",notes = "")
    private String deviceThumPic ;
    /** 设备型号 */
    @ApiModelProperty(name = "设备型号",notes = "")
    private String deviceModel ;
    /** 设备IMEI号 */
    @ApiModelProperty(name = "设备IMEI号",notes = "")
    private String deviceImei ;
    /** 设备类型;（1：厨房   2：卧室） */
    @ApiModelProperty(name = "设备类型",notes = "（1：厨房   2：卧室）")
    private Integer deviceType ;
    /** 设备状态;（1：正常2  ：报警，3：故障，4：离线） */
    @ApiModelProperty(name = "设备状态",notes = "（1：正常2  2：报警，3：故障，4：离线）")
    private Integer deviceState ;
    /** 设备介绍 */
    @ApiModelProperty(name = "设备介绍",notes = "(1 厨房 2:客厅 3 卧室 4 公共区域)")
    private Integer deviceInfo ;
    @ApiModelProperty(name = "城市编码",notes = "")
    private String citycode ;
    /** 行政区域编码 */
    @ApiModelProperty(name = "行政区域编码",notes = "")
    private String adcode ;
    /** 乡镇街道编码 */
    @ApiModelProperty(name = "乡镇街道编码",notes = "")
    private String towncode ;
    /** 设备详细地址 */
    @ApiModelProperty(name = "设备详细地址",notes = "")
    private String deviceAddress ;

    /** 设备所在经度 */
    @ApiModelProperty(name = "设备所在经度",notes = "")
    private String deviceLongitude ;
    /** 设备所在维度 */
    @ApiModelProperty(name = "设备所在维度",notes = "")
    private String deviceLatitude ;
    /** 设备备注信息 */
    @ApiModelProperty(name = "设备备注信息",notes = "")
    private String deviceRemarks ;
    /** 设备激活时间 */
    @ApiModelProperty(name = "设备激活时间",notes = "")
    private Date deviceActiveTime ;
    /** 设备报废时间 */
    @ApiModelProperty(name = "设备报废时间",notes = "")
    private Date deviceScrapTime ;
    /** 厂家id */
    @ApiModelProperty(name = "厂家id",notes = "")
    private String manufacturerCode ;
    /** 设备制造商 */
    @ApiModelProperty(name = "设备制造商",notes = "")
    private String deviceManufacturer ;
    /** 设备阈值 */
    @ApiModelProperty(name = "设备阈值",notes = "")
    private String deviceLimitValue ;
    /** 是否删除;（1：正常  2：删除） */
    @ApiModelProperty(name = "是否删除",notes = "（1：正常  2：删除）")
    private Integer isDeleted ;
    /** 创建时间 */
    @ApiModelProperty(name = "创建时间",notes = "")
    private Date createdTime ;
    /** 更新时间 */
    @ApiModelProperty(name = "更新时间",notes = "")
    private Date updatedTime ;


}